package com.ats.ereg.model.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ats.ereg.model.dao.TstStudentsDAO;
import com.ats.ereg.model.entities.TstStudents;

@Service("TstStudentsService")
public class TstStudentsService {
	
	@Autowired
	TstStudentsDAO tstStudentsDAO;
	
	public List<TstStudents> getAllItems(){
		return tstStudentsDAO.findAll();			
	}
}
